package com.ctshk.rpc.cms.dto;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "ContentClassificationDTO", description = "ContentClassificationDTO")
public class ContentClassificationDTO implements Serializable {

    private static final long serialVersionUID = 5815291392381239337L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "分类编码")
    private String classificationCode;

    @ApiModelProperty(value = "分类名称")
    private String classificationName;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "children子分类")
    private List<JSONObject> children;

    @ApiModelProperty(value = "文章")
    private List<ContentDTO> contentDTOS;

    @ApiModelProperty(value = "分类简介")
    private String classificationIntroduce;

    @ApiModelProperty(value = "图片url")
    private String pictureUrl;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}
